Details about specific Course Training
Retrieves details associated with a specific piece of Course Training (Registration With Progress identified by id
).
query courseRegistrationDetails {
registrations: registrationsWithProgress(filters: [{ field: id, operation: eq, value: "bGVhcm5lcjo2NDM4" }]) {
edges {
node {
...Registration
}
}
}
}
fragment Registration on RegistrationWithProgress {
id
expiry
totalPiecesOfContent
completedPiecesOfContent
hasPassed
quantity
contentResults {
edges {
node {
...ContentFragment
}
}
}
achievement {
id
identifier
expiresAt
achievementType {
id
name
}
certificateUrl
documentUrls
}
passAccessExpired
trainingPassTypeId
achievements {
id
identifier
expiresAt
achievementType {
id
name
}
certificateUrl
documentUrls
documentIds
}
attendance {
sessionsAttended
sessionsMissed
totalSessions
sessionDetail {
edges {
node {
session {
id
title
timeZonedStart
timeZonedEnd
location {
id
name
}
}
attendanceMark
}
}
}
}
course {
id
title
message
lmsAnnouncements
resources {
label
link
}
learningMode
imageUrl
achievementType {
id
name
}
achievementTypes {
id
name
}
categories {
edges {
node {
id
name
}
}
}
sessions {
edges {
node {
id
title
timeZonedStart
timeZonedEnd
remoteMeetingUrl
location {
name
id
}
}
}
}
lmsStart
lmsEnd
content(learnerId: "bGVhcm5lcjo2NDM4") {
edges {
node {
...RegistrableCourseContent
}
}
}
documents {
id
name
description
fileSizeStr
}
allowedMissedSessions
}
}
fragment ContentFragment on ContentResult {
id
contentId
progress
score
scorePercent
attempts
completedAttempts
lastAccessed
status
... on VideoContentResult {
startAt
lastAccessed
progress
}
... on ExternalContentResult {
latestAttempt {
id
}
}
}
fragment RegistrableCourseContent on Content {
id
isRequired
order
type
autoComplete
displayName
htmlDescription
isPremium
includedInPassTypeIds
... on ExternalActivity {
externalActivityUrl
}
... on KryterionActivity {
kryterionUrl
kryterionCourseId
}
... on Document {
identifyingHash
fileSizeStr
originalExtension
}
... on Video {
wistiaVideoId
fileSizeStr
}
... on Scorm {
identifyingHash
entrypoint
version
fileSizeStr
maxAttempts
}
... on DiscussionTopic {
comments {
edges {
node {
id
comment
createdAt
contact {
id
firstName
lastName
}
}
}
}
}
}